package com.uchengwang.ui.cm_ui.ucity.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.uchengwang.ui.cm_ui.cycle.bean.CycleBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by U城网 on 2018/2/1.
 * 发布时 我的社圈标签
 */

public class CycleTagAdapter extends BaseAdapter{
    private Context context;
    private List<CycleBean> list = new ArrayList<>();
    public CycleTagAdapter(Context context){
        this.context = context;
    }

    public CycleTagAdapter(List<CycleBean> list){
        this.list = list;
        notifyDataSetChanged();
    }

    @Override
    public int getCount() {
        return list.size();
    }

    @Override
    public Object getItem(int position) {
        return list.get(position);
    }

    @Override
    public long getItemId(int position) {
        return position;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        return null;
    }
}
